﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007FF RID: 2047
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueShopBuffInfoScRsp : IMessage<GetRogueShopBuffInfoScRsp>, IMessage, IEquatable<GetRogueShopBuffInfoScRsp>, IDeepCloneable<GetRogueShopBuffInfoScRsp>, IBufferMessage
	{
		// Token: 0x170019F9 RID: 6649
		// (get) Token: 0x06005BC4 RID: 23492 RVA: 0x000F6037 File Offset: 0x000F4237
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueShopBuffInfoScRsp> Parser
		{
			get
			{
				return GetRogueShopBuffInfoScRsp._parser;
			}
		}

		// Token: 0x170019FA RID: 6650
		// (get) Token: 0x06005BC5 RID: 23493 RVA: 0x000F603E File Offset: 0x000F423E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueShopBuffInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170019FB RID: 6651
		// (get) Token: 0x06005BC6 RID: 23494 RVA: 0x000F6050 File Offset: 0x000F4250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueShopBuffInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005BC7 RID: 23495 RVA: 0x000F6057 File Offset: 0x000F4257
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopBuffInfoScRsp()
		{
		}

		// Token: 0x06005BC8 RID: 23496 RVA: 0x000F6060 File Offset: 0x000F4260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopBuffInfoScRsp(GetRogueShopBuffInfoScRsp other) : this()
		{
			this.eEEDIPMFAFL_ = other.eEEDIPMFAFL_;
			this.rogueBuffInfo_ = ((other.rogueBuffInfo_ != null) ? other.rogueBuffInfo_.Clone() : null);
			this.nNIFKHLBMFG_ = ((other.nNIFKHLBMFG_ != null) ? other.nNIFKHLBMFG_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005BC9 RID: 23497 RVA: 0x000F60D4 File Offset: 0x000F42D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopBuffInfoScRsp Clone()
		{
			return new GetRogueShopBuffInfoScRsp(this);
		}

		// Token: 0x170019FC RID: 6652
		// (get) Token: 0x06005BCA RID: 23498 RVA: 0x000F60DC File Offset: 0x000F42DC
		// (set) Token: 0x06005BCB RID: 23499 RVA: 0x000F60E4 File Offset: 0x000F42E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool EEEDIPMFAFL
		{
			get
			{
				return this.eEEDIPMFAFL_;
			}
			set
			{
				this.eEEDIPMFAFL_ = value;
			}
		}

		// Token: 0x170019FD RID: 6653
		// (get) Token: 0x06005BCC RID: 23500 RVA: 0x000F60ED File Offset: 0x000F42ED
		// (set) Token: 0x06005BCD RID: 23501 RVA: 0x000F60F5 File Offset: 0x000F42F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GLCCJMLODBH RogueBuffInfo
		{
			get
			{
				return this.rogueBuffInfo_;
			}
			set
			{
				this.rogueBuffInfo_ = value;
			}
		}

		// Token: 0x170019FE RID: 6654
		// (get) Token: 0x06005BCE RID: 23502 RVA: 0x000F60FE File Offset: 0x000F42FE
		// (set) Token: 0x06005BCF RID: 23503 RVA: 0x000F6106 File Offset: 0x000F4306
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData NNIFKHLBMFG
		{
			get
			{
				return this.nNIFKHLBMFG_;
			}
			set
			{
				this.nNIFKHLBMFG_ = value;
			}
		}

		// Token: 0x170019FF RID: 6655
		// (get) Token: 0x06005BD0 RID: 23504 RVA: 0x000F610F File Offset: 0x000F430F
		// (set) Token: 0x06005BD1 RID: 23505 RVA: 0x000F6117 File Offset: 0x000F4317
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06005BD2 RID: 23506 RVA: 0x000F6120 File Offset: 0x000F4320
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueShopBuffInfoScRsp);
		}

		// Token: 0x06005BD3 RID: 23507 RVA: 0x000F6130 File Offset: 0x000F4330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueShopBuffInfoScRsp other)
		{
			return other != null && (other == this || (this.EEEDIPMFAFL == other.EEEDIPMFAFL && object.Equals(this.RogueBuffInfo, other.RogueBuffInfo) && object.Equals(this.NNIFKHLBMFG, other.NNIFKHLBMFG) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005BD4 RID: 23508 RVA: 0x000F61A4 File Offset: 0x000F43A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EEEDIPMFAFL)
			{
				num ^= this.EEEDIPMFAFL.GetHashCode();
			}
			if (this.rogueBuffInfo_ != null)
			{
				num ^= this.RogueBuffInfo.GetHashCode();
			}
			if (this.nNIFKHLBMFG_ != null)
			{
				num ^= this.NNIFKHLBMFG.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005BD5 RID: 23509 RVA: 0x000F6228 File Offset: 0x000F4428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005BD6 RID: 23510 RVA: 0x000F6230 File Offset: 0x000F4430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005BD7 RID: 23511 RVA: 0x000F623C File Offset: 0x000F443C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.nNIFKHLBMFG_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.NNIFKHLBMFG);
			}
			if (this.EEEDIPMFAFL)
			{
				output.WriteRawTag(96);
				output.WriteBool(this.EEEDIPMFAFL);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueBuffInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.RogueBuffInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005BD8 RID: 23512 RVA: 0x000F62D0 File Offset: 0x000F44D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EEEDIPMFAFL)
			{
				num += 2;
			}
			if (this.rogueBuffInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueBuffInfo);
			}
			if (this.nNIFKHLBMFG_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.NNIFKHLBMFG);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005BD9 RID: 23513 RVA: 0x000F634C File Offset: 0x000F454C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueShopBuffInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EEEDIPMFAFL)
			{
				this.EEEDIPMFAFL = other.EEEDIPMFAFL;
			}
			if (other.rogueBuffInfo_ != null)
			{
				if (this.rogueBuffInfo_ == null)
				{
					this.RogueBuffInfo = new GLCCJMLODBH();
				}
				this.RogueBuffInfo.MergeFrom(other.RogueBuffInfo);
			}
			if (other.nNIFKHLBMFG_ != null)
			{
				if (this.nNIFKHLBMFG_ == null)
				{
					this.NNIFKHLBMFG = new ItemCostData();
				}
				this.NNIFKHLBMFG.MergeFrom(other.NNIFKHLBMFG);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005BDA RID: 23514 RVA: 0x000F63F4 File Offset: 0x000F45F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005BDB RID: 23515 RVA: 0x000F6400 File Offset: 0x000F4600
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 96U)
				{
					if (num == 34U)
					{
						if (this.nNIFKHLBMFG_ == null)
						{
							this.NNIFKHLBMFG = new ItemCostData();
						}
						input.ReadMessage(this.NNIFKHLBMFG);
						continue;
					}
					if (num == 96U)
					{
						this.EEEDIPMFAFL = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 104U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 122U)
					{
						if (this.rogueBuffInfo_ == null)
						{
							this.RogueBuffInfo = new GLCCJMLODBH();
						}
						input.ReadMessage(this.RogueBuffInfo);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002382 RID: 9090
		private static readonly MessageParser<GetRogueShopBuffInfoScRsp> _parser = new MessageParser<GetRogueShopBuffInfoScRsp>(() => new GetRogueShopBuffInfoScRsp());

		// Token: 0x04002383 RID: 9091
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002384 RID: 9092
		public const int EEEDIPMFAFLFieldNumber = 12;

		// Token: 0x04002385 RID: 9093
		private bool eEEDIPMFAFL_;

		// Token: 0x04002386 RID: 9094
		public const int RogueBuffInfoFieldNumber = 15;

		// Token: 0x04002387 RID: 9095
		private GLCCJMLODBH rogueBuffInfo_;

		// Token: 0x04002388 RID: 9096
		public const int NNIFKHLBMFGFieldNumber = 4;

		// Token: 0x04002389 RID: 9097
		private ItemCostData nNIFKHLBMFG_;

		// Token: 0x0400238A RID: 9098
		public const int RetcodeFieldNumber = 13;

		// Token: 0x0400238B RID: 9099
		private uint retcode_;
	}
}
